package ch02;

/**
 * @Author lzp
 * @Date 2024-04-02
 */
public class test02 {
    public static void main(String[] args) {

        //获取操作类的
        Class<Cat> catClass = Cat.class;

        // 判断是否存在某注解
        boolean bl2 = catClass.isAnnotationPresent(Hello.class) ;
        System.out.println(bl2);


    }
}
